SA, SB, SD, SI, SS, ST, SU, SW (Search Memory) 

Syntax

SA | B | D | I | S | T | U | W} range pattern

Parameters

range

The memory area to search through. See Range SyntaxQ0D2XK for information on the range syntax.

pattern

One or more byte values or ANSI or Unicode characters to search for. Separate multiple values with spaces.

 

Description

Searches through memory to find a specific byte pattern. If the pattern is found, WinDbg will display the first memory address in range where it was found.

When entering numeric values to search for, you can use C-style radix prefixes to override the default radix. Prefix octal constants with a  0o  (for example 0o1776), hexadecimal constants with  0x  (for example 0xF000), and decimal constants with  0t  (for example 0t199).

When entering Unicode values to search for, you can include space (" ") characters by enclosing the character string in quotation marks (" or '). If you enclose the string in double quotation marks, WinDbg will automatically null-terminate the string. Single quotation marks (') will not add a null character. Standard C escape characters (such as \t, \007, and \") are also allowed.

Command

Definition

Fill

 

SA

Search ANSI

ANSI (extended ASCII) characters

 

SB

Search Bytes (char)

Byte values

 

SD

Search Doublewords (long)

Doubleword (4-byte) values

 

SI

Search 8-Byte Reals (double)

Floating-point numbers

 

SS

Search 4-Byte Reals (float)

Floating-point numbers

 

ST

Search 10-Byte Reals (long double)

Floating-point numbers

 

SU

Search Unicode

Unicode characters

 

SW

Search Words (short)

Word values